
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>运行 · 博客API</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="yaohw">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-flexible-alerts/style.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-lightbox/css/lightbox.min.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../api/" />
    
    
    <link rel="prev" href="config.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="./">
            
                <a href="./">
            
                    
                    安装
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="prepare.html">
            
                <a href="prepare.html">
            
                    
                    准备
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="config.html">
            
                <a href="config.html">
            
                    
                    配置
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2.3" data-path="run.html">
            
                <a href="run.html">
            
                    
                    运行
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../api/">
            
                <a href="../api/">
            
                    
                    接口文档
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../api/sms.html">
            
                <a href="../api/sms.html">
            
                    
                    发送验证码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../api/client/">
            
                <a href="../api/client/">
            
                    
                    客户端
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.2.1" data-path="../api/client/save.html">
            
                <a href="../api/client/save.html">
            
                    
                    保存客户端
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.2" data-path="../api/client/page.html">
            
                <a href="../api/client/page.html">
            
                    
                    分页获取客户端
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.3" data-path="../api/client/delete.html">
            
                <a href="../api/client/delete.html">
            
                    
                    删除客户端
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../api/auth/">
            
                <a href="../api/auth/">
            
                    
                    认证
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.3.1" data-path="../api/auth/account.html">
            
                <a href="../api/auth/account.html">
            
                    
                    账号密码登录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.2" data-path="../api/auth/mobile.html">
            
                <a href="../api/auth/mobile.html">
            
                    
                    手机号验证码登录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.3" data-path="../api/auth/third.html">
            
                <a href="../api/auth/third.html">
            
                    
                    第三方登录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.4" data-path="../api/auth/refresh.html">
            
                <a href="../api/auth/refresh.html">
            
                    
                    刷新access_token
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.5" data-path="../api/auth/logout.html">
            
                <a href="../api/auth/logout.html">
            
                    
                    退出
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../api/user/">
            
                <a href="../api/user/">
            
                    
                    用户
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.4.1" data-path="../api/user/info.html">
            
                <a href="../api/user/info.html">
            
                    
                    获取用户信息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.2" data-path="../api/user/register.html">
            
                <a href="../api/user/register.html">
            
                    
                    注册
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.3" data-path="../api/user/pwd-update.html">
            
                <a href="../api/user/pwd-update.html">
            
                    
                    修改密码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.4" data-path="../api/user/pwd-reset.html">
            
                <a href="../api/user/pwd-reset.html">
            
                    
                    重置密码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.5" data-path="../api/user/avatar-update.html">
            
                <a href="../api/user/avatar-update.html">
            
                    
                    更换头像
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.6" data-path="../api/user/update.html">
            
                <a href="../api/user/update.html">
            
                    
                    更新用户信息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.7" data-path="../api/user/vemail.html">
            
                <a href="../api/user/vemail.html">
            
                    
                    邮箱验证
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.8" data-path="../api/user/bemail.html">
            
                <a href="../api/user/bemail.html">
            
                    
                    邮箱绑定
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.9" data-path="../api/user/vmobile.html">
            
                <a href="../api/user/vmobile.html">
            
                    
                    验证原手机号
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.10" data-path="../api/user/bmobile.html">
            
                <a href="../api/user/bmobile.html">
            
                    
                    更换手机号
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.11" data-path="../api/user/page.html">
            
                <a href="../api/user/page.html">
            
                    
                    分页获取用户
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.12" data-path="../api/user/status-update.html">
            
                <a href="../api/user/status-update.html">
            
                    
                    用户状态修改
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.13" data-path="../api/user/nmobile.html">
            
                <a href="../api/user/nmobile.html">
            
                    
                    绑定手机号
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.14" data-path="../api/user/username.html">
            
                <a href="../api/user/username.html">
            
                    
                    绑定用户名
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="../api/tag/">
            
                <a href="../api/tag/">
            
                    
                    标签
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.5.1" data-path="../api/tag/add.html">
            
                <a href="../api/tag/add.html">
            
                    
                    新增标签
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5.2" data-path="../api/tag/page.html">
            
                <a href="../api/tag/page.html">
            
                    
                    分页获取标签
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5.3" data-path="../api/tag/list.html">
            
                <a href="../api/tag/list.html">
            
                    
                    获取标签列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5.4" data-path="../api/tag/update.html">
            
                <a href="../api/tag/update.html">
            
                    
                    修改标签
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5.5" data-path="../api/tag/delete.html">
            
                <a href="../api/tag/delete.html">
            
                    
                    删除标签
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="../api/category/">
            
                <a href="../api/category/">
            
                    
                    分类
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.6.1" data-path="../api/category/add.html">
            
                <a href="../api/category/add.html">
            
                    
                    新增分类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6.2" data-path="../api/category/page.html">
            
                <a href="../api/category/page.html">
            
                    
                    分页获取分类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6.3" data-path="../api/category/list.html">
            
                <a href="../api/category/list.html">
            
                    
                    获取分类列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6.4" data-path="../api/category/tree.html">
            
                <a href="../api/category/tree.html">
            
                    
                    获取分类树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6.5" data-path="../api/category/update.html">
            
                <a href="../api/category/update.html">
            
                    
                    修改分类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6.6" data-path="../api/category/delete.html">
            
                <a href="../api/category/delete.html">
            
                    
                    删除分类
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.7" data-path="../api/file/">
            
                <a href="../api/file/">
            
                    
                    文件存储
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.7.1" data-path="../api/file/upload.html">
            
                <a href="../api/file/upload.html">
            
                    
                    上传文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.7.2" data-path="../api/file/delete.html">
            
                <a href="../api/file/delete.html">
            
                    
                    删除文件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.8" data-path="../api/article/">
            
                <a href="../api/article/">
            
                    
                    文章
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.8.1" data-path="../api/article/save.html">
            
                <a href="../api/article/save.html">
            
                    
                    保存文章
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8.2" data-path="../api/article/page.html">
            
                <a href="../api/article/page.html">
            
                    
                    分页获取文章（后台）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8.3" data-path="../api/article/detail.html">
            
                <a href="../api/article/detail.html">
            
                    
                    文章详情（后台）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8.4" data-path="../api/article/f_page.html">
            
                <a href="../api/article/f_page.html">
            
                    
                    分页获取文章（前台）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8.5" data-path="../api/article/view.html">
            
                <a href="../api/article/view.html">
            
                    
                    文章详情（前台）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8.6" data-path="../api/article/incrt_view.html">
            
                <a href="../api/article/incrt_view.html">
            
                    
                    文章浏览数自增
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8.7" data-path="../api/article/interrelated.html">
            
                <a href="../api/article/interrelated.html">
            
                    
                    相关文章
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8.8" data-path="../api/article/discard.html">
            
                <a href="../api/article/discard.html">
            
                    
                    丢弃文章
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8.9" data-path="../api/article/delete.html">
            
                <a href="../api/article/delete.html">
            
                    
                    删除文章
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8.10" data-path="../api/article/status.html">
            
                <a href="../api/article/status.html">
            
                    
                    修改文章状态
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8.11" data-path="../api/article/archives.html">
            
                <a href="../api/article/archives.html">
            
                    
                    文章归档
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8.12" data-path="../api/article/tag_statistic.html">
            
                <a href="../api/article/tag_statistic.html">
            
                    
                    标签文章统计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8.13" data-path="../api/article/c_statistic.html">
            
                <a href="../api/article/c_statistic.html">
            
                    
                    分类文章统计
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.9" data-path="../api/recommend/">
            
                <a href="../api/recommend/">
            
                    
                    文章推荐
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.9.1" data-path="../api/recommend/save.html">
            
                <a href="../api/recommend/save.html">
            
                    
                    保存到推荐
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.9.2" data-path="../api/recommend/delete.html">
            
                <a href="../api/recommend/delete.html">
            
                    
                    删除推荐
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.9.3" data-path="../api/recommend/list.html">
            
                <a href="../api/recommend/list.html">
            
                    
                    获取推荐列表
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.10" data-path="../api/like/">
            
                <a href="../api/like/">
            
                    
                    文章点赞
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.10.1" data-path="../api/like/add.html">
            
                <a href="../api/like/add.html">
            
                    
                    新增点赞
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.10.2" data-path="../api/like/cancel.html">
            
                <a href="../api/like/cancel.html">
            
                    
                    取消点赞
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.10.3" data-path="../api/like/if.html">
            
                <a href="../api/like/if.html">
            
                    
                    是否已点赞
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.11" data-path="../api/comment/">
            
                <a href="../api/comment/">
            
                    
                    文章评论与回复
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.11.1" data-path="../api/comment/c_add.html">
            
                <a href="../api/comment/c_add.html">
            
                    
                    新增评论
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.11.2" data-path="../api/comment/c_delete.html">
            
                <a href="../api/comment/c_delete.html">
            
                    
                    删除评论
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.11.3" data-path="../api/comment/r_add.html">
            
                <a href="../api/comment/r_add.html">
            
                    
                    新增评论回复
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.11.4" data-path="../api/comment/r_delete.html">
            
                <a href="../api/comment/r_delete.html">
            
                    
                    删除评论回复
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.11.5" data-path="../api/comment/page.html">
            
                <a href="../api/comment/page.html">
            
                    
                    分页获取评论与回复
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.11.6" data-path="../api/comment/latest.html">
            
                <a href="../api/comment/latest.html">
            
                    
                    最新评论列表
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.12" data-path="../api/collect/">
            
                <a href="../api/collect/">
            
                    
                    文章收藏
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.12.1" data-path="../api/collect/add.html">
            
                <a href="../api/collect/add.html">
            
                    
                    新增收藏
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.12.2" data-path="../api/collect/page.html">
            
                <a href="../api/collect/page.html">
            
                    
                    分页获取收藏
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.12.3" data-path="../api/collect/delete.html">
            
                <a href="../api/collect/delete.html">
            
                    
                    删除收藏
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.12.4" data-path="../api/collect/if.html">
            
                <a href="../api/collect/if.html">
            
                    
                    是否已收藏
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.13" data-path="../api/message/">
            
                <a href="../api/message/">
            
                    
                    留言与回复
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.13.1" data-path="../api/message/add.html">
            
                <a href="../api/message/add.html">
            
                    
                    新增留言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.13.2" data-path="../api/message/r_add.html">
            
                <a href="../api/message/r_add.html">
            
                    
                    新增留言回复
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.13.3" data-path="../api/message/page.html">
            
                <a href="../api/message/page.html">
            
                    
                    分页回复留言与回复
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.13.4" data-path="../api/message/latest.html">
            
                <a href="../api/message/latest.html">
            
                    
                    最新留言列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.13.5" data-path="../api/message/delete.html">
            
                <a href="../api/message/delete.html">
            
                    
                    删除留言或回复
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.14" data-path="../api/friend/">
            
                <a href="../api/friend/">
            
                    
                    友链
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.14.1" data-path="../api/friend/save.html">
            
                <a href="../api/friend/save.html">
            
                    
                    保存友链
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.14.2" data-path="../api/friend/page.html">
            
                <a href="../api/friend/page.html">
            
                    
                    分页获取友链
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.14.3" data-path="../api/friend/list.html">
            
                <a href="../api/friend/list.html">
            
                    
                    友链列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.14.4" data-path="../api/friend/delete.html">
            
                <a href="../api/friend/delete.html">
            
                    
                    删除友链
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../help/">
            
                <a href="../help/">
            
                    
                    帮助与反馈
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <!--<li>-->
        <!--<a href="https://www.gitbook.com" target="blank" class="gitbook-link">-->
            <!--本书使用 GitBook 发布-->
        <!--</a>-->
    <!--</li>-->
</ul>

                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >运行</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x8FD0;&#x884C;">&#x8FD0;&#x884C;</h1>
<p>&#x8FD9;&#x91CC;&#x4ECB;&#x7ECD;&#x7684;&#x662F;&#x5C06;&#x9879;&#x76EE;&#x6253;&#x5305;&#x597D;&#x540E;&#x518D;&#x8FD0;&#x884C;&#x7684;&#x8FD0;&#x884C;&#x65B9;&#x5F0F;&#xFF0C;java&#x540E;&#x7AEF;&#x5F00;&#x53D1;&#x7684;&#x4F19;&#x4F34;&#x4F7F;&#x7528;idea&#x6253;&#x5F00;&#x5373;&#x53EF;&#x3002;</p>
<h2 id="&#x6253;&#x5305;">&#x6253;&#x5305;</h2>
<p>&#x5728;&#x9879;&#x76EE;&#x6839;&#x76EE;&#x5F55;&#xFF0C;&#x5373;pom.xml&#x6587;&#x4EF6;&#x7684;&#x540C;&#x7EA7;&#x76EE;&#x5F55;&#x4E0B;&#x6267;&#x884C;&#x547D;&#x4EE4;&#xFF1A;</p>
<pre><code>mvn clean package
</code></pre><p>&#x6253;&#x5305;&#x8FC7;&#x7A0B;&#x9700;&#x4E0B;&#x8F7D;&#x4F9D;&#x8D56;&#xFF0C;&#x8017;&#x65F6;&#x53EF;&#x80FD;&#x8F83;&#x957F;&#xFF0C;&#x9700;&#x8010;&#x5FC3;&#x7B49;&#x5F85;&#x3002;</p>
<h2 id="&#x542F;&#x52A8;">&#x542F;&#x52A8;</h2>
<p>&#x6253;&#x5305;&#x597D;&#x7684;&#x6587;&#x4EF6;&#x5728;target&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#xFF0C;&#x6587;&#x4EF6;&#x540D;&#x4E3A;blog-api.1.0.jar,&#x5728;blog-api.1.0.jar&#x540C;&#x7EA7;&#x76EE;&#x5F55;&#x4E0B;&#x6267;&#x884C;&#x542F;&#x52A8;&#x547D;&#x4EE4;&#xFF1A;</p>
<pre><code>java -jar blog-api.1.0.jar
</code></pre><p>&#x542F;&#x52A8;&#x6210;&#x529F;&#x65E5;&#x5FD7;&#x8F93;&#x51FA;&#x5982;&#x56FE;&#xFF1A;</p>
<h2 id="&#x751F;&#x4EA7;&#x73AF;&#x5883;">&#x751F;&#x4EA7;&#x73AF;&#x5883;</h2>
<p>&#x751F;&#x4EA7;&#x73AF;&#x5883;&#x5E94;&#x7528;&#x4E00;&#x822C;&#x9700;&#x5728;&#x540E;&#x53F0;&#x8FD0;&#x884C;&#xFF0C;&#x5C06;&#x6253;&#x5305;&#x597D;&#x7684;jar&#x4E0A;&#x4F20;&#x5230;&#x670D;&#x52A1;&#x5668;&#xFF0C;&#x5728;&#x5176;&#x540C;&#x7EA7;&#x76EE;&#x5F55;&#x4E0B;&#x6267;&#x884C;&#x547D;&#x4EE4;&#xFF1A;</p>
<pre><code>nohup java -jar blog-api-1.0.jar &gt;root.txt 2&gt;&amp;1 &amp;
</code></pre><p>&#x8BE5;&#x547D;&#x4EE4;&#x7684;&#x4F5C;&#x7528;&#x5C31;&#x662F;&#x8BA9;&#x9879;&#x76EE;&#x5728;&#x540E;&#x53F0;&#x8FD0;&#x884C;&#x5E76;&#x5C06;&#x63A7;&#x5236;&#x53F0;&#x65E5;&#x5FD7;&#x8F93;&#x51FA;&#x5230;&#x5F53;&#x524D;&#x76EE;&#x5F55;&#x4E0B;&#x7684;root.txt&#x6587;&#x4EF6;&#x4E2D;&#x3002;&#x4F7F;&#x7528;&#x547D;&#x4EE4;tail -500f root.txt&#x53EF;&#x76D1;&#x63A7;&#x540E;500&#x884C;&#x65E5;&#x5FD7;&#x4FE1;&#x606F;&#x3002;</p>
<p><br>
&#x5173;&#x95ED;&#x53EF;&#x6267;&#x884C;&#x547D;&#x4EE4;&#xFF1A;</p>
<pre><code>ps -ef|grep -v grep|grep blog-api-1.0.jar|awk &apos;{print $2}&apos;|xargs kill -9
</code></pre><blockquote>
<p>[!TIP]
&#x751F;&#x4EA7;&#x73AF;&#x5883;&#x9879;&#x76EE;&#x542F;&#x52A8;&#x547D;&#x4EE4;&#x548C;&#x5173;&#x95ED;&#x547D;&#x4EE4;&#x53EF;&#x4F5C;&#x4E3A;&#x9879;&#x76EE;&#x542F;&#x52A8;&#x548C;&#x5173;&#x95ED;&#x7684;&#x811A;&#x672C;&#x3002;</p>
</blockquote>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="config.html" class="navigation navigation-prev " aria-label="Previous page: 配置">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../api/" class="navigation navigation-next " aria-label="Next page: 接口文档">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"运行","level":"1.2.3","depth":2,"next":{"title":"接口文档","level":"1.3","depth":1,"path":"api/index.md","ref":"api/index.md","articles":[{"title":"发送验证码","level":"1.3.1","depth":2,"path":"api/sms.md","ref":"api/sms.md","articles":[]},{"title":"客户端","level":"1.3.2","depth":2,"path":"api/client/index.md","ref":"api/client/index.md","articles":[{"title":"保存客户端","level":"1.3.2.1","depth":3,"path":"api/client/save.md","ref":"api/client/save.md","articles":[]},{"title":"分页获取客户端","level":"1.3.2.2","depth":3,"path":"api/client/page.md","ref":"api/client/page.md","articles":[]},{"title":"删除客户端","level":"1.3.2.3","depth":3,"path":"api/client/delete.md","ref":"api/client/delete.md","articles":[]}]},{"title":"认证","level":"1.3.3","depth":2,"path":"api/auth/index.md","ref":"api/auth/index.md","articles":[{"title":"账号密码登录","level":"1.3.3.1","depth":3,"path":"api/auth/account.md","ref":"api/auth/account.md","articles":[]},{"title":"手机号验证码登录","level":"1.3.3.2","depth":3,"path":"api/auth/mobile.md","ref":"api/auth/mobile.md","articles":[]},{"title":"第三方登录","level":"1.3.3.3","depth":3,"path":"api/auth/third.md","ref":"api/auth/third.md","articles":[]},{"title":"刷新access_token","level":"1.3.3.4","depth":3,"path":"api/auth/refresh.md","ref":"api/auth/refresh.md","articles":[]},{"title":"退出","level":"1.3.3.5","depth":3,"path":"api/auth/logout.md","ref":"api/auth/logout.md","articles":[]}]},{"title":"用户","level":"1.3.4","depth":2,"path":"api/user/index.md","ref":"api/user/index.md","articles":[{"title":"获取用户信息","level":"1.3.4.1","depth":3,"path":"api/user/info.md","ref":"api/user/info.md","articles":[]},{"title":"注册","level":"1.3.4.2","depth":3,"path":"api/user/register.md","ref":"api/user/register.md","articles":[]},{"title":"修改密码","level":"1.3.4.3","depth":3,"path":"api/user/pwd-update.md","ref":"api/user/pwd-update.md","articles":[]},{"title":"重置密码","level":"1.3.4.4","depth":3,"path":"api/user/pwd-reset.md","ref":"api/user/pwd-reset.md","articles":[]},{"title":"更换头像","level":"1.3.4.5","depth":3,"path":"api/user/avatar-update.md","ref":"api/user/avatar-update.md","articles":[]},{"title":"更新用户信息","level":"1.3.4.6","depth":3,"path":"api/user/update.md","ref":"api/user/update.md","articles":[]},{"title":"邮箱验证","level":"1.3.4.7","depth":3,"path":"api/user/vemail.md","ref":"api/user/vemail.md","articles":[]},{"title":"邮箱绑定","level":"1.3.4.8","depth":3,"path":"api/user/bemail.md","ref":"api/user/bemail.md","articles":[]},{"title":"验证原手机号","level":"1.3.4.9","depth":3,"path":"api/user/vmobile.md","ref":"api/user/vmobile.md","articles":[]},{"title":"更换手机号","level":"1.3.4.10","depth":3,"path":"api/user/bmobile.md","ref":"api/user/bmobile.md","articles":[]},{"title":"分页获取用户","level":"1.3.4.11","depth":3,"path":"api/user/page.md","ref":"api/user/page.md","articles":[]},{"title":"用户状态修改","level":"1.3.4.12","depth":3,"path":"api/user/status-update.md","ref":"api/user/status-update.md","articles":[]},{"title":"绑定手机号","level":"1.3.4.13","depth":3,"path":"api/user/nmobile.md","ref":"api/user/nmobile.md","articles":[]},{"title":"绑定用户名","level":"1.3.4.14","depth":3,"path":"api/user/username.md","ref":"api/user/username.md","articles":[]}]},{"title":"标签","level":"1.3.5","depth":2,"path":"api/tag/index.md","ref":"api/tag/index.md","articles":[{"title":"新增标签","level":"1.3.5.1","depth":3,"path":"api/tag/add.md","ref":"api/tag/add.md","articles":[]},{"title":"分页获取标签","level":"1.3.5.2","depth":3,"path":"api/tag/page.md","ref":"api/tag/page.md","articles":[]},{"title":"获取标签列表","level":"1.3.5.3","depth":3,"path":"api/tag/list.md","ref":"api/tag/list.md","articles":[]},{"title":"修改标签","level":"1.3.5.4","depth":3,"path":"api/tag/update.md","ref":"api/tag/update.md","articles":[]},{"title":"删除标签","level":"1.3.5.5","depth":3,"path":"api/tag/delete.md","ref":"api/tag/delete.md","articles":[]}]},{"title":"分类","level":"1.3.6","depth":2,"path":"api/category/index.md","ref":"api/category/index.md","articles":[{"title":"新增分类","level":"1.3.6.1","depth":3,"path":"api/category/add.md","ref":"api/category/add.md","articles":[]},{"title":"分页获取分类","level":"1.3.6.2","depth":3,"path":"api/category/page.md","ref":"api/category/page.md","articles":[]},{"title":"获取分类列表","level":"1.3.6.3","depth":3,"path":"api/category/list.md","ref":"api/category/list.md","articles":[]},{"title":"获取分类树","level":"1.3.6.4","depth":3,"path":"api/category/tree.md","ref":"api/category/tree.md","articles":[]},{"title":"修改分类","level":"1.3.6.5","depth":3,"path":"api/category/update.md","ref":"api/category/update.md","articles":[]},{"title":"删除分类","level":"1.3.6.6","depth":3,"path":"api/category/delete.md","ref":"api/category/delete.md","articles":[]}]},{"title":"文件存储","level":"1.3.7","depth":2,"path":"api/file/index.md","ref":"api/file/index.md","articles":[{"title":"上传文件","level":"1.3.7.1","depth":3,"path":"api/file/upload.md","ref":"api/file/upload.md","articles":[]},{"title":"删除文件","level":"1.3.7.2","depth":3,"path":"api/file/delete.md","ref":"api/file/delete.md","articles":[]}]},{"title":"文章","level":"1.3.8","depth":2,"path":"api/article/index.md","ref":"api/article/index.md","articles":[{"title":"保存文章","level":"1.3.8.1","depth":3,"path":"api/article/save.md","ref":"api/article/save.md","articles":[]},{"title":"分页获取文章（后台）","level":"1.3.8.2","depth":3,"path":"api/article/page.md","ref":"api/article/page.md","articles":[]},{"title":"文章详情（后台）","level":"1.3.8.3","depth":3,"path":"api/article/detail.md","ref":"api/article/detail.md","articles":[]},{"title":"分页获取文章（前台）","level":"1.3.8.4","depth":3,"path":"api/article/f_page.md","ref":"api/article/f_page.md","articles":[]},{"title":"文章详情（前台）","level":"1.3.8.5","depth":3,"path":"api/article/view.md","ref":"api/article/view.md","articles":[]},{"title":"文章浏览数自增","level":"1.3.8.6","depth":3,"path":"api/article/incrt_view.md","ref":"api/article/incrt_view.md","articles":[]},{"title":"相关文章","level":"1.3.8.7","depth":3,"path":"api/article/interrelated.md","ref":"api/article/interrelated.md","articles":[]},{"title":"丢弃文章","level":"1.3.8.8","depth":3,"path":"api/article/discard.md","ref":"api/article/discard.md","articles":[]},{"title":"删除文章","level":"1.3.8.9","depth":3,"path":"api/article/delete.md","ref":"api/article/delete.md","articles":[]},{"title":"修改文章状态","level":"1.3.8.10","depth":3,"path":"api/article/status.md","ref":"api/article/status.md","articles":[]},{"title":"文章归档","level":"1.3.8.11","depth":3,"path":"api/article/archives.md","ref":"api/article/archives.md","articles":[]},{"title":"标签文章统计","level":"1.3.8.12","depth":3,"path":"api/article/tag_statistic.md","ref":"api/article/tag_statistic.md","articles":[]},{"title":"分类文章统计","level":"1.3.8.13","depth":3,"path":"api/article/c_statistic.md","ref":"api/article/c_statistic.md","articles":[]}]},{"title":"文章推荐","level":"1.3.9","depth":2,"path":"api/recommend/index.md","ref":"api/recommend/index.md","articles":[{"title":"保存到推荐","level":"1.3.9.1","depth":3,"path":"api/recommend/save.md","ref":"api/recommend/save.md","articles":[]},{"title":"删除推荐","level":"1.3.9.2","depth":3,"path":"api/recommend/delete.md","ref":"api/recommend/delete.md","articles":[]},{"title":"获取推荐列表","level":"1.3.9.3","depth":3,"path":"api/recommend/list.md","ref":"api/recommend/list.md","articles":[]}]},{"title":"文章点赞","level":"1.3.10","depth":2,"path":"api/like/index.md","ref":"api/like/index.md","articles":[{"title":"新增点赞","level":"1.3.10.1","depth":3,"path":"api/like/add.md","ref":"api/like/add.md","articles":[]},{"title":"取消点赞","level":"1.3.10.2","depth":3,"path":"api/like/cancel.md","ref":"api/like/cancel.md","articles":[]},{"title":"是否已点赞","level":"1.3.10.3","depth":3,"path":"api/like/if.md","ref":"api/like/if.md","articles":[]}]},{"title":"文章评论与回复","level":"1.3.11","depth":2,"path":"api/comment/index.md","ref":"api/comment/index.md","articles":[{"title":"新增评论","level":"1.3.11.1","depth":3,"path":"api/comment/c_add.md","ref":"api/comment/c_add.md","articles":[]},{"title":"删除评论","level":"1.3.11.2","depth":3,"path":"api/comment/c_delete.md","ref":"api/comment/c_delete.md","articles":[]},{"title":"新增评论回复","level":"1.3.11.3","depth":3,"path":"api/comment/r_add.md","ref":"api/comment/r_add.md","articles":[]},{"title":"删除评论回复","level":"1.3.11.4","depth":3,"path":"api/comment/r_delete.md","ref":"api/comment/r_delete.md","articles":[]},{"title":"分页获取评论与回复","level":"1.3.11.5","depth":3,"path":"api/comment/page.md","ref":"api/comment/page.md","articles":[]},{"title":"最新评论列表","level":"1.3.11.6","depth":3,"path":"api/comment/latest.md","ref":"api/comment/latest.md","articles":[]}]},{"title":"文章收藏","level":"1.3.12","depth":2,"path":"api/collect/index.md","ref":"api/collect/index.md","articles":[{"title":"新增收藏","level":"1.3.12.1","depth":3,"path":"api/collect/add.md","ref":"api/collect/add.md","articles":[]},{"title":"分页获取收藏","level":"1.3.12.2","depth":3,"path":"api/collect/page.md","ref":"api/collect/page.md","articles":[]},{"title":"删除收藏","level":"1.3.12.3","depth":3,"path":"api/collect/delete.md","ref":"api/collect/delete.md","articles":[]},{"title":"是否已收藏","level":"1.3.12.4","depth":3,"path":"api/collect/if.md","ref":"api/collect/if.md","articles":[]}]},{"title":"留言与回复","level":"1.3.13","depth":2,"path":"api/message/index.md","ref":"api/message/index.md","articles":[{"title":"新增留言","level":"1.3.13.1","depth":3,"path":"api/message/add.md","ref":"api/message/add.md","articles":[]},{"title":"新增留言回复","level":"1.3.13.2","depth":3,"path":"api/message/r_add.md","ref":"api/message/r_add.md","articles":[]},{"title":"分页回复留言与回复","level":"1.3.13.3","depth":3,"path":"api/message/page.md","ref":"api/message/page.md","articles":[]},{"title":"最新留言列表","level":"1.3.13.4","depth":3,"path":"api/message/latest.md","ref":"api/message/latest.md","articles":[]},{"title":"删除留言或回复","level":"1.3.13.5","depth":3,"path":"api/message/delete.md","ref":"api/message/delete.md","articles":[]}]},{"title":"友链","level":"1.3.14","depth":2,"path":"api/friend/index.md","ref":"api/friend/index.md","articles":[{"title":"保存友链","level":"1.3.14.1","depth":3,"path":"api/friend/save.md","ref":"api/friend/save.md","articles":[]},{"title":"分页获取友链","level":"1.3.14.2","depth":3,"path":"api/friend/page.md","ref":"api/friend/page.md","articles":[]},{"title":"友链列表","level":"1.3.14.3","depth":3,"path":"api/friend/list.md","ref":"api/friend/list.md","articles":[]},{"title":"删除友链","level":"1.3.14.4","depth":3,"path":"api/friend/delete.md","ref":"api/friend/delete.md","articles":[]}]}]},"previous":{"title":"配置","level":"1.2.2","depth":2,"path":"install/config.md","ref":"install/config.md","articles":[]},"dir":"ltr"},"config":{"plugins":["github","-sharing","splitter","expandable-chapters-small","code","flexible-alerts","lightbox"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"github":{"url":"https://github.com/copoile/blog-api.git"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"code":{"copyButtons":true},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"lightbox":{"jquery":true,"sameUuid":false},"expandable-chapters-small":{},"flexible-alerts":{"danger":{"className":"danger","icon":"fa fa-ban","label":"Attention"},"note":{"className":"info","icon":"fa fa-info-circle","label":"Note"},"style":"callout","tip":{"className":"tip","icon":"fa fa-lightbulb-o","label":"Tip"},"warning":{"className":"warning","icon":"fa fa-exclamation-triangle","label":"Warning"}},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"yaohw","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"INTRODUCE.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"博客API","language":"zh-hans","gitbook":"*","description":"介绍博客API系统及接口API详细介绍。"},"file":{"path":"install/run.md","mtime":"2020-06-14T14:54:49.135Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-06-16T05:56:45.485Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-flexible-alerts/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lightbox/js/lightbox.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

